package cn.tm.ms.nerver.filter.sys;

import cn.tm.ms.nerver.filter.IFilter;
import cn.tm.ms.nerver.filter.type.FilterType;

/**
 * 系统路由过滤器
 * 
 * order=Integer.MAX_VALUE
 * @author lry
 */
public class RouteFilter<REQ, RES> implements IFilter<REQ, RES> {

	public String filterName() {
		return RouteFilter.class.getName();
	}
	
	public boolean isFilterDisabled() {
		return true;
	}

	public FilterType filterType() {
		return FilterType.ROUTE;
	}

	public int filterOrder() {
		return Integer.MAX_VALUE;
	}

	@Override
	public boolean shouldFilter(REQ req, RES res) {
		return false;
	}

	@Override
	public Object run(REQ req, RES res) {
		return null;
	}

}
